package Proxy_Pattern.Rmi;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Client {
    public static void main(String[] args) {
        Server server;
        server=new ProxySever();
        System.out.println("远程计算1+2");
        System.out.println(server.display(1,"+",2));
        System.out.println("远程计算2*4");
        System.out.println(server.display(2,"*",4));
    }
}
